﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.ComponentModel.DataAnnotations;

namespace HCQ2_Model.VRDD.InputDto._210908
{
    /// <summary>
    ///  删除店铺人员
    /// </summary>
    public class InputDStoreTypeUser
    {
        /// <summary>
        ///  店铺id
        /// </summary>
        [Required]
        [RegularExpression("^([1-9][0-9]*)$", ErrorMessage = "请传入正确店铺id")]
        public int storeID { get; set; }
        /// <summary>
        ///  用户内部编码
        /// </summary>
        [Required(ErrorMessage = "userID：用户内部编码不能为空！")]
        public string userID { get; set; }
        /// <summary>
        ///  数据字典下拉代码
        /// </summary>
        [Required(ErrorMessage = "dictCode：数据字典下拉代码不能为空！")]
        public string dictCode { get; set; }
        /// <summary>
        ///  数据字典根代码
        /// </summary>
        [Required(ErrorMessage = "dictType：数据字典根代码不能为空！")]
        public string dictType { get; set; }
    }
}